//1. 通用形式导入模块
// import 导入  * 所有   as 设置别名  m1 变量名  from 来自于  
import * as m1 from './m1.js';
import * as m2 from './m2.js';
import * as m3 from './m3.js';

//2. 解构赋值形式的导入
import {add, minus} from './m1.js';
import {obj, fn} from './m1.js';
import {cheng, chu, fn as fn2} from './m2.js';
import {default as m33} from './m3.js';

//3. 简便形式的导入 『只能针对默认暴露使用』
import mm3 from './m3.js';

//4. 导入
import ceshi,{test} from './m4.js';

console.log(test);
console.log(ceshi);





